package com.spring.factory;


import com.spring.dao.AccountDao;
import com.spring.dao.AccountDaoImpl;

public class InstanceFactory {

    public InstanceFactory(){
        System.out.println("InstanceFactory构造函数调用了");
    }

    public AccountDao getAccountDao(){
        return new AccountDaoImpl();
    }
}
